home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Communications Toolbox / CTB Sample Code 1.0b16 / CTB Sources / Sources 2 / Connection Tool for CTB / Connection.r < prev    next >
Encoding:
Text File  |  1989-10-06  |  969 b   |  71 lines  |  [TEXT/MPS ]

  1. #include "SysTypes.r"
  2. #include "Types.r"
  3. #include "CMTypes.r"
  4.  
  5.  
  6. resource 'cbnd' (10, "Connection") {  
  7.     {     
  8.         'DITL',  
  9.         {
  10.         1, 31000
  11.         },
  12.         'STR#',
  13.         {
  14.         0, 31000,
  15.         1, 31001
  16.         }
  17.     }
  18. };
  19.  
  20. resource 'STR#' (31000, "Config: English") {
  21.     {    /* array StringArray: 4 elements */
  22.         /* [1] */
  23.         "FirstOption",
  24.         /* [2] */
  25.         "SecondOption",
  26.         /* [3] */
  27.         "True",
  28.         /* [4] */
  29.         "False"
  30.     }
  31. };
  32.  
  33. resource 'STR#' (31001, "Config: French") {
  34.     {    /* array StringArray: 4 elements */
  35.         /* [1] */
  36.         "fFirstOption",
  37.         /* [2] */
  38.         "fSecondOption",
  39.         /* [3] */
  40.         "Vrai",
  41.         /* [4] */
  42.         "Faux"
  43.     }
  44. };
  45.  
  46. resource 'DITL' (31000, "CConfig") {
  47.     {     /* array DITLarray: 2 elements */
  48.         /* [1] */
  49.         {25,20,45,150},
  50.         CheckBox {
  51.             enabled,
  52.             "First Option"
  53.         },
  54.         /* [1] */
  55.         {25,170,45,300},
  56.         CheckBox {
  57.             enabled,
  58.             "Second Option"
  59.         }
  60.     }
  61. };
  62.  
  63. resource 'vers' (1) {
  64.     0x01, 
  65.     0x00, 
  66.     alpha, 
  67.     0x01, 
  68.     verUS,
  69.     "1.0a1",
  70.     "1.0a1, Copyright © Apple Computer, Inc. 1988-1989.  Written by Rob Neville."
  71. };